import Vue from "vue";
import VueRouter from "vue-router";
import PokerStrategy from "../views/poker-strategy";
import HandStrategy from "../views/hand-strategy";

Vue.use(VueRouter);

const routes = [
  {
    path: "/",
    name: "PokerStrategy",
    component: PokerStrategy,
  },
  {
    path:"/hand",
    name: "HandStrategy",
    component:HandStrategy
  }
];

const router = new VueRouter({
  mode: "hash",
  base: process.env.BASE_URL,
  routes,
});

export default router;
